SG RegExp
Match Method

�1998 by Stinga

Overview Properties Methods Pattern Syntax
Description

Examine specified string with the regular expression, returning true if there is a match. Returns True if there is a match; False if there is no match.

Syntax

object.Match(data [, startPos = 1]) As Boolean

Part Description
data string to be examined
startPos Optional. One based index of the parsing start position. Default value is 1.
Remarks

Match method updates state of the Substrings collection. The first substring is the substring of string that matched the whole regular expression. The others are those substrings that matched parenthesized expressions within the regular expression, with parenthesized expressions numbered in left-to-right order of their opening parentheses.